<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试Chanel接口</title>
</head>
<body>
    <script src="../lib/jquery/dist/jquery.min.js"></script>
    <script>
        var xhr = new XMLHttpRequest;

        xhr.open('GET','https://www.chanel.cn/fnbv3/pdp?sku=0107180&locale=zh_CN&skuinfo=true')

        xhr.send()

        xhr.onload = function(){
            var res = JSON.parse(xhr.responseText)
            console.log(res);
            console.log('......................');
            console.log(res.productimages[0].shadename);
        }
    </script>
</body>
</html>